package com.example.demo.client.evt.sysbasequery;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Description:
 *
 * @Author zmf
 * @Date 2018/12/14  9:32
 */
@ApiModel("是否可以删除角色")
public class isCanDelRoleEvt implements Serializable{
    private static final long serialVersionUID = -1563344521362186432L;
    @ApiModelProperty(value = "角色ID",required = true)
    @NotNull
    private Long roleId;
    @ApiModelProperty(value = "角色类型：1：目录，2：角色",required = true)
    @NotNull
    private Integer roleType;
    @ApiModelProperty("当前登录用户名")
    private String loginName;

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Integer getRoleType() {
        return roleType;
    }

    public void setRoleType(Integer roleType) {
        this.roleType = roleType;
    }

    @Override
    public String toString() {
        return "isCanDelRoleEvt{" +
            "roleId=" + roleId +
            ", roleType=" + roleType +
            '}';
    }
}
